package com.ten.order.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ten.common.core.entity.EduTeacher;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;

/**
 * @author ：王薪伟
 * @date ：Created in 2022/12/8 21:14
 * @description：
 * @modified By：
 * @version:
 */
public interface ByTeacherNameDao extends BaseMapper<EduTeacher> {

    @Select(value = "select * from edu_teacher where name = #{teacherName}")
    EduTeacher selectByTeacherName(String teacherName);
}
